package com.chencs.app.xcx.controller;


import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.chencs.app.xcx.WirelessShareTpwdQueryRequest;
import com.chencs.app.xcx.WirelessShareTpwdQueryResponse;
import com.chencs.biz.Common;
import com.chencs.utils.ApplyCommissionUtils;
import com.chencs.utils.CRequest;
import com.chencs.utils.TaoKouLing;
import com.chencs.utils.TaoKouLingUtils;
import com.chencs.vo.biz.password.Commission;
import com.taobao.api.DefaultTaobaoClient;
import com.taobao.api.TaobaoClient;
import com.taobao.api.request.WirelessShareTpwdCreateRequest;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/xcx")
public class XcxController {





//
//    public static void main(String[] args) {
//
////        TaoKouLing taoKouLing =   TaoKouLingUtils.getTaoKouLing("");
////        Map<String, String> map =   CRequest.URLRequest(taoKouLing.getUrl());
////        System.out.println(map.get("id"));
////        Commission commission = ApplyCommissionUtils.getCommissionForPid(map.get("id"));
////        System.out.println(JSONObject.toJSON(commission).toString());
//    }
}
